home *** CD-ROM | disk | FTP | other *** search
/ Star Festival... a Return to Japan / Star Festival... a Return to Japan.iso / pc / STARFESTIVAL / 01p1.dir / 00001.ls next >
Encoding:
Text File  |  1999-04-07  |  1.5 KB  |  55 lines

  1. on startMovie
  2.   global gKnobSprite, gSendMovie
  3.   gKnobSprite = 14
  4.   gSendMovie = "01p1"
  5.   puppetSprite(48, 1)
  6.   setUpKnob()
  7.   set the mouseDownScript to EMPTY
  8.   set the mouseUpScript to EMPTY
  9. end
  10.  
  11. on idle
  12.   global gCursorReady
  13.   if gCursorReady = 1 then
  14.     cursor(200)
  15.     checkCursors()
  16.     set the locH of sprite 48 to the mouseH
  17.     set the locV of sprite 48 to the mouseV
  18.     updateStage()
  19.   end if
  20. end
  21.  
  22. on checkCursors
  23.   global gMagCursor
  24.   set the castNum of sprite 48 to the number of member "curs1"
  25.   if the castNum of sprite 5 and rollOver(5) then
  26.     set the castNum of sprite 48 to the number of member gMagCursor
  27.   end if
  28.   if the castNum of sprite 8 and rollOver(8) then
  29.     set the castNum of sprite 48 to the number of member "deMagCursor"
  30.   end if
  31.   repeat with i = 15 to 17
  32.     if rollOver(i) then
  33.       set the castNum of sprite 48 to the number of member "hotCursor"
  34.     end if
  35.   end repeat
  36.   repeat with i = 20 to 22
  37.     if the castNum of sprite i and rollOver(i) then
  38.       set the castNum of sprite 48 to the number of member "hotCursor"
  39.     end if
  40.   end repeat
  41.   repeat with i = 30 to 32
  42.     if rollOver(i) then
  43.       set the castNum of sprite 48 to the number of member "hotCursor"
  44.     end if
  45.   end repeat
  46.   repeat with i = 40 to 42
  47.     if rollOver(i) then
  48.       set the castNum of sprite 48 to the number of member "hotCursor"
  49.     end if
  50.   end repeat
  51.   if the castNum of sprite 47 and rollOver(47) then
  52.     set the castNum of sprite 48 to the number of member "hotCursor"
  53.   end if
  54. end
  55.